package itsm.isperp.module.entity.problem;

import itsm.isperp.workflow.domain.BaseProcessBean;

import java.sql.Timestamp;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 实体
 * 
 * @author lizx
 * @date 2014-07-18 15:14
 */
@Entity
@Table(name = "prob_problem")
public class ProbProblem extends BaseProcessBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	// 分类id
	@Column
	protected String probCategoryId;

	// 分类
	@Column
	protected String probCategoryName;

	// 资产
	@Column
	protected String ciId;

	@Column
	protected String status;

	// 关闭码
	@Column
	protected String closeCode;

	@Column
	protected String closer;
	@Column
	protected String closerName;
	@Column
	protected Date closeDate;

	// 编号
	@Column
	protected String code;

	// 描述
	@Column
	protected String description;

	// 原因分析
	@Column
	protected String reasonAnalysis;

	// 影响分析
	@Column
	protected String effectAnalysis;
	// 临时解决方案
	@Column
	protected String solutionTemp;
	// 解决方案
	@Column
	protected String solution;

	// 实施过程
	@Column
	protected String executeProcess;

	// 实施后效果评估
	@Column
	protected String effectEvaluation;

	// 影响范围
	@Column
	protected String effectName;

	// 实施者帐号
	@Column
	protected String executer;

	// 实施者
	@Column
	protected String executerName;

	// 实施时间
	@Column
	protected Timestamp executeTime;

	// 优先级
	@Column
	protected String priorityName;

	// 关联项目
	@Column
	protected String projectId;

	// 供应商id
	@Column
	protected String providerId;

	// 供应商
	@Column
	protected String providerName;

	// 请求人帐号
	@Column
	protected String requester;

	// 请求人
	@Column
	protected String requesterName;

	// 请求事件
	@Column
	protected Timestamp requestDate;

	// 受影响服务
	@Column
	protected String serviceCategoryId;

	// 关联服务级别id
	@Column
	protected String slmId;

	// 关联服务级别
	@Column
	protected String slmName;

	// 支持人员帐号
	@Column
	protected String supporter;

	// 支持人员
	@Column
	protected String supporterName;

	// 标题
	@Column
	protected String title;

	// 紧急度
	@Column
	protected String urgencyName;

	@Column
	protected String problemNextAction;
	@Column
	protected String problemNextActioner;
	@Column
	protected String problemNextActionerName;
	@Column
	protected Timestamp problemNextActionDate;

	@Column
	protected String ciIn;
	@Column
	protected String assessment;

	@Column
	protected boolean areUpgrade;

	@Column
	protected Date upgradeDate;
	@Column
	protected String upgradeReason;

	@Column
	protected String upgradeReasonApproval;

	@Column
	protected boolean areProject;

	@Column
	protected String diagnosis;

	@Column
	protected float workingHourEffective;

	@Column
	protected String assigner;

	@Column
	protected String assignerName;

	@Column
	protected Date assignDate;

	@Column
	protected String assignNote;

	@Column
	protected String measure;

	@Column
	protected String responserId;
	@Column
	protected String responserName;

	@Column
	protected Timestamp responseDate;

	@Column
	protected String closeNote;

	@Column
	protected Date finishTimePlan;

	@Column
	protected float workingHourPlan;

	@Column
	protected float workingHourActual;

	@Column
	protected String source;
	
	@Column
	protected String projectNote;
	
	//是否需要关联知识
	@Column
	protected String addKnowledge;
	

	public String getProjectNote() {
		return projectNote;
	}

	public void setProjectNote(String projectNote) {
		this.projectNote = projectNote;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getResponserId() {
		return responserId;
	}

	public void setResponserId(String responserId) {
		this.responserId = responserId;
	}

	public String getResponserName() {
		return responserName;
	}

	public void setResponserName(String responserName) {
		this.responserName = responserName;
	}

	public Timestamp getResponseDate() {
		return responseDate;
	}

	public void setResponseDate(Timestamp responseDate) {
		this.responseDate = responseDate;
	}

	public String getCloseNote() {
		return closeNote;
	}

	public void setCloseNote(String closeNote) {
		this.closeNote = closeNote;
	}

	public Date getFinishTimePlan() {
		return finishTimePlan;
	}

	public void setFinishTimePlan(Date finishTimePlan) {
		this.finishTimePlan = finishTimePlan;
	}

	public float getWorkingHourPlan() {
		return workingHourPlan;
	}

	public void setWorkingHourPlan(float workingHourPlan) {
		this.workingHourPlan = workingHourPlan;
	}

	public float getWorkingHourActual() {
		return workingHourActual;
	}

	public void setWorkingHourActual(float workingHourActual) {
		this.workingHourActual = workingHourActual;
	}

	public String getMeasure() {
		return measure;
	}

	public void setMeasure(String measure) {
		this.measure = measure;
	}

	public String getAssigner() {
		return assigner;
	}

	public void setAssigner(String assigner) {
		this.assigner = assigner;
	}

	public String getAssignerName() {
		return assignerName;
	}

	public void setAssignerName(String assignerName) {
		this.assignerName = assignerName;
	}

	public Date getAssignDate() {
		return assignDate;
	}

	public void setAssignDate(Date assignDate) {
		this.assignDate = assignDate;
	}

	public String getAssignNote() {
		return assignNote;
	}

	public void setAssignNote(String assignNote) {
		this.assignNote = assignNote;
	}

	public float getWorkingHourEffective() {
		return workingHourEffective;
	}

	public void setWorkingHourEffective(float workingHourEffective) {
		this.workingHourEffective = workingHourEffective;
	}

	public String getDiagnosis() {
		return diagnosis;
	}

	public void setDiagnosis(String diagnosis) {
		this.diagnosis = diagnosis;
	}

	public String getUpgradeReasonApproval() {
		return upgradeReasonApproval;
	}

	public void setUpgradeReasonApproval(String upgradeReasonApproval) {
		this.upgradeReasonApproval = upgradeReasonApproval;
	}

	public boolean isAreUpgrade() {
		return areUpgrade;
	}

	public void setAreUpgrade(boolean areUpgrade) {
		this.areUpgrade = areUpgrade;
	}

	public Date getUpgradeDate() {
		return upgradeDate;
	}

	public void setUpgradeDate(Date upgradeDate) {
		this.upgradeDate = upgradeDate;
	}

	public String getUpgradeReason() {
		return upgradeReason;
	}

	public void setUpgradeReason(String upgradeReason) {
		this.upgradeReason = upgradeReason;
	}

	public boolean isAreProject() {
		return areProject;
	}

	public void setAreProject(boolean areProject) {
		this.areProject = areProject;
	}

	public String getCloser() {
		return closer;
	}

	public void setCloser(String closer) {
		this.closer = closer;
	}

	public String getCloserName() {
		return closerName;
	}

	public void setCloserName(String closerName) {
		this.closerName = closerName;
	}

	public Date getCloseDate() {
		return closeDate;
	}

	public void setCloseDate(Date closeDate) {
		this.closeDate = closeDate;
	}

	public String getCiIn() {
		return ciIn;
	}

	public void setCiIn(String ciIn) {
		this.ciIn = ciIn;
	}

	public String getAssessment() {
		return assessment;
	}

	public void setAssessment(String assessment) {
		this.assessment = assessment;
	}

	public String getProblemNextAction() {
		return problemNextAction;
	}

	public void setProblemNextAction(String problemNextAction) {
		this.problemNextAction = problemNextAction;
	}

	public String getProblemNextActioner() {
		return problemNextActioner;
	}

	public void setProblemNextActioner(String problemNextActioner) {
		this.problemNextActioner = problemNextActioner;
	}

	public String getProblemNextActionerName() {
		return problemNextActionerName;
	}

	public void setProblemNextActionerName(String problemNextActionerName) {
		this.problemNextActionerName = problemNextActionerName;
	}

	public Timestamp getProblemNextActionDate() {
		return problemNextActionDate;
	}

	public void setProblemNextActionDate(Timestamp problemNextActionDate) {
		this.problemNextActionDate = problemNextActionDate;
	}

	public String getProbCategoryId() {
		return probCategoryId;
	}

	public void setProbCategoryId(String probCategoryId) {
		this.probCategoryId = probCategoryId;
	}

	public String getProbCategoryName() {
		return probCategoryName;
	}

	public void setProbCategoryName(String probCategoryName) {
		this.probCategoryName = probCategoryName;
	}

	public String getCiId() {
		return ciId;
	}

	public void setCiId(String ciId) {
		this.ciId = ciId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCloseCode() {
		return closeCode;
	}

	public void setCloseCode(String closeCode) {
		this.closeCode = closeCode;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getReasonAnalysis() {
		return reasonAnalysis;
	}

	public void setReasonAnalysis(String reasonAnalysis) {
		this.reasonAnalysis = reasonAnalysis;
	}

	public String getEffectAnalysis() {
		return effectAnalysis;
	}

	public void setEffectAnalysis(String effectAnalysis) {
		this.effectAnalysis = effectAnalysis;
	}

	public String getSolutionTemp() {
		return solutionTemp;
	}

	public void setSolutionTemp(String solutionTemp) {
		this.solutionTemp = solutionTemp;
	}

	public String getSolution() {
		return solution;
	}

	public void setSolution(String solution) {
		this.solution = solution;
	}

	public String getExecuteProcess() {
		return executeProcess;
	}

	public void setExecuteProcess(String executeProcess) {
		this.executeProcess = executeProcess;
	}

	public String getEffectEvaluation() {
		return effectEvaluation;
	}

	public void setEffectEvaluation(String effectEvaluation) {
		this.effectEvaluation = effectEvaluation;
	}

	public String getEffectName() {
		return effectName;
	}

	public void setEffectName(String effectName) {
		this.effectName = effectName;
	}

	public String getExecuter() {
		return executer;
	}

	public void setExecuter(String executer) {
		this.executer = executer;
	}

	public String getExecuterName() {
		return executerName;
	}

	public void setExecuterName(String executerName) {
		this.executerName = executerName;
	}

	public Timestamp getExecuteTime() {
		return executeTime;
	}

	public void setExecuteTime(Timestamp executeTime) {
		this.executeTime = executeTime;
	}

	public String getPriorityName() {
		return priorityName;
	}

	public void setPriorityName(String priorityName) {
		this.priorityName = priorityName;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getProviderId() {
		return providerId;
	}

	public void setProviderId(String providerId) {
		this.providerId = providerId;
	}

	public String getProviderName() {
		return providerName;
	}

	public void setProviderName(String providerName) {
		this.providerName = providerName;
	}

	public String getRequester() {
		return requester;
	}

	public void setRequester(String requester) {
		this.requester = requester;
	}

	public String getRequesterName() {
		return requesterName;
	}

	public void setRequesterName(String requesterName) {
		this.requesterName = requesterName;
	}

	public Timestamp getRequestDate() {
		return requestDate;
	}

	public void setRequestDate(Timestamp requestDate) {
		this.requestDate = requestDate;
	}

	public String getServiceCategoryId() {
		return serviceCategoryId;
	}

	public void setServiceCategoryId(String serviceCategoryId) {
		this.serviceCategoryId = serviceCategoryId;
	}

	public String getSlmId() {
		return slmId;
	}

	public void setSlmId(String slmId) {
		this.slmId = slmId;
	}

	public String getSlmName() {
		return slmName;
	}

	public void setSlmName(String slmName) {
		this.slmName = slmName;
	}

	public String getSupporter() {
		return supporter;
	}

	public void setSupporter(String supporter) {
		this.supporter = supporter;
	}

	public String getSupporterName() {
		return supporterName;
	}

	public void setSupporterName(String supporterName) {
		this.supporterName = supporterName;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUrgencyName() {
		return urgencyName;
	}

	public void setUrgencyName(String urgencyName) {
		this.urgencyName = urgencyName;
	}

	public String getAddKnowledge() {
		return addKnowledge;
	}

	public void setAddKnowledge(String addKnowledge) {
		this.addKnowledge = addKnowledge;
	}

}
